package sensors.realSensors;

import pacman.Ghost;
import lejos.nxt.addon.IRSeeker;
import sensors.IRSensor;
import sensors.Sensor;

public class RealInfraredSensor extends Sensor implements IRSensor{
	
	public RealInfraredSensor(Ghost ghost){
		super(ghost);
	}
	public int getDirection(){
		return getGhost().getCommunicator().getDirectionIR();	
		}
}
 